/**
 * 
 */
package com.vision.admin.activitylog.cl;

import java.sql.Timestamp;

import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
import com.vision.core.cm.data.ActivityType;
import com.vision.core.cm.data.Domain;
import com.vision.core.cm.db.data.ActivityLog;

/**
 * @author Mark
 *
 */
public interface ActivityLogProperties extends PropertyAccess<ActivityLog<?>> {
	
	@Path("id")
	ModelKeyProvider<ActivityLog<?>> key();
	
	@Path("user.username")
	ValueProvider<ActivityLog<?>, String> user();
	ValueProvider<ActivityLog<?>, Timestamp> timestamp();
	ValueProvider<ActivityLog<?>, Domain> domain();
	ValueProvider<ActivityLog<?>, ActivityType> type();
	ValueProvider<ActivityLog<?>, String> serializedString();

}
